package cn.yeziji.forum.common.enums.status;

import cn.yeziji.forum.common.enums.status.code.ChatroomCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 聊天室状态
 *
 * @author gzkemays
 * @since 2022/4/1 9:01
 */
@Getter
@AllArgsConstructor
public enum ChatroomStatus {
  /** 聊天室统一状态枚举 */
  USER_ID_NOT_FOUND(ChatroomCode.USER_ID_NOT_FOUND, "没找到指定用户"),
  THIS_WEBSOCKET_LINK_NOT_POWER(ChatroomCode.NOT_POWER, "无权限访问");
  int code;
  String msg;
}
